From 2c5f07549f2b1b2d96b24e6cad4c2d0ab4d6f65d Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 27 Mar 2012 17:54:54 +0200 Subject: [PATCH] Follow-up c7df7ade694d38cddc8ec358fe0453cffd6ef379 (r3532): * Forgot to change that instance of __construct() to addInitialStack() Change-Id: If639ebe9ba53206108642bd3880058e7388aaa98 --- includes/profiler/ProfilerSimpleTrace.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/profiler/ProfilerSimpleTrace.php b/includes/profiler/ProfilerSimpleTrace.php index 784609f5ea..3abdbe1f77 100644 --- a/includes/profiler/ProfilerSimpleTrace.php +++ b/includes/profiler/ProfilerSimpleTrace.php @@ -13,9 +13,8 @@ class ProfilerSimpleTrace extends ProfilerSimple { var $trace = ""; var $memory = 0; - function __construct( $params ) { + function addInitialStack() { global $wgRequestTime, $wgRUstart; - parent::__construct( $params ); if ( !empty( $wgRequestTime ) && !empty( $wgRUstart ) ) { $this->mWorkStack[] = array( '-total', 0, $wgRequestTime, $this->getCpuTime( $wgRUstart ) ); } -- 2.20.1